home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus Special 18
/
AMIGAplus Sonderheft 18 (1999)(ICP)(DE)[!].iso
/
Rexx
/
_0_new_mailpacket.rexx
next >
Wrap
OS/2 REXX Batch file
|
1998-02-17
|
672b
|
36 lines
/* YAMandPGP V1.0 -- Roberto Ragusa 1997 */
/* new mailpacket */
windowfilename = 'CON:50/50/600/200/YAM-REXX/CLOSE'
plain_mail_txt = 'All is attached...'
CALL CLOSE 'STDOUT'
CALL CLOSE 'STDIN'
CALL OPEN 'STDIN',windowfilename
CALL PRAGMA '*','STDIN'
CALL OPEN 'STDOUT','*'
options results
address command
call pragma('D','MAILPACKETS:')
'delete >nil: newmessage/attachment/#? all force'
'delete >nil: newmessage/~(attachment) all force'
call pragma('D','newmessage')
'echo >plain_mail.txt "'||plain_mail_txt||'"'
'echo >>plain_mail.txt ""'
call pragma('D','attachment')
'echo >mail.txt "write here!"'
address YAM
'Request "Prepare your mail in Mnew:" "OK"'